*{
    padding:0;
    margin:0;
}
ul li{
    list-style:none;
}
a,img{
    text-decoration:none;
    border:none;
}
/*加载字体文件*/
@font-face{
    font-family:'BarbaraHand';
    src:url('../font/barbarahand-webfont.eot');
    src:url('../font/barbarahand-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/barbarahand-webfont.woff2') format('woff2'),
    url('../font/barbarahand-webfont.woff') format('woff'),
    url('../font/barbarahand-webfont.ttf') format('truetype'),
    url('../font/barbarahand-webfont.svg#BarbaraHand') format('svg');
    font-weight:normal;font-style:normal
}

body{
    background-color: #faf9f9;
}

nav{
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    background-color: rgba(0,0,0,.3);
    z-index: 101;
}

.nav{
    width: 1200px;
    margin: 0 auto;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.nav-logo h1{
    margin-left: 10px;
    font-family: BarbaraHand;
    font-size: 28px;
    color: #ffffff;
    float: left;
}

.nav-logo img{
    float: left;
    width: 50px;
    height: 50px;
    margin: 5px;
}

.nav-content{
    float: right;
}

.nav-content ul li{
    float: left;
    padding: 0 70px 0 0;
    font-size: 18px;
}

.nav-content a{
    color: #ffffff;
}

.center_box{
    width: 1100px;
    margin: 80px auto;
}

menu{
    display: block;
    width:40px;
    height: 40px;
    background-color: rgba(0,0,0,.1);
    border-radius: 50%;
    z-index: 102;
    position: fixed;
    right: 55px;
    top: 12px;
    cursor: pointer;
}

menu span{
    display: block;
    height: 2px;
    width: 26px;
    background-color: #ffffff;
    line-height: 10px;
    margin: 5px auto;
}

.menu_close span:first-child{
    margin-top: 12px;

}

.menu_open span:first-child{
    margin-top: 18px;
    transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.menu_open span:nth-last-of-type(2){
    margin-top: -6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.menu_close span:last-child,.menu_close span:last-child,.menu_close span:nth-last-of-type(2){
    -webkit-transform:rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform:rotate(0);
    -webkit-transition:all .5s;
    -moz-transition:all .5s;
    -ms-transition:all .5s;
    -o-transition:all .5s;
    transition:all .5s;
}

.menu_open span:last-child{
    display: none;
}

menu:hover{
    background-color: #EE2C2C;
}

.fix_bar{
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 999;
}

.fix_bar li{
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 2px;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 2px;
    opacity: .95;
}

.searchBox{
    padding: 14px;
    background-color: grey;
    border-radius: 15px 15px 0 0;
}

.searchBox input{
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 40px;
    border: none;
    text-align: center;
    outline: none;
}

.searchBox i{
    float: right;
    position: relative;
    right: 16px;
    bottom: 28px;
    color: rgba(0,0,0,.5);
}

.box_bounceInDown_fixed{
    position:fixed;
    top:auto;
    bottom: 200px;
    width:308px;
    margin-top:0;
    -webkit-animation-duration:1s;
    animation-duration:1s;
    -webkit-animation-fill-mode:both;
    animation-fill-mode:both;
    -webkit-animation-name:bounceInDown;
    animation-name:bounceInDown;
}

.box_bounceInUp_fixed{
    position:fixed;
    top:auto;
    bottom: 200px;
    width:308px;
    margin-top:0;
    -webkit-animation-duration:1s;
    animation-duration:1s;
    -webkit-animation-fill-mode:both;
    animation-fill-mode:both;
    -webkit-animation-name:bounceInUp;
    animation-name:bounceInUp;
}
